package polls.models;

import java.io.Serializable;

public class Semester implements Serializable {
	private Long id=null;
	private String name;
	private Faculty faculty;
		
	public Semester(String name, Faculty faculty) {
		super();
		this.name = name;
		this.faculty = faculty;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Faculty getFaculty() {
		return faculty;
	}
	public void setFaculty(Faculty faculty) {
		this.faculty = faculty;
	}
}
